/**
 * Copyright SunEEE Limited (c) 2014. All rights reserved.
 * This software is proprietary to and embodies the confidential
 * technology of SunEEE Limited.  Possession, use, or copying
 * of this software and media is authorized only pursuant to a
 * valid written license from SunEEE or an authorized sublicensor.
 */
package com.base.context.processor.config;


import com.base.context.processor.resource.ResourceEnum;
import com.base.context.processor.resource.ResourceGroup;

/**
 * ZhiLi: 属性内容类型
 * 
 * @version Revision History
 * 
 *          <pre>
 * Author     Version       Date        Changes
 * ZhiLi      1.0           2014年10月28日     Created
 *
 * </pre>
 * @since B2B1.0.0
 */
@ResourceGroup(key = "config.dataType", value = "数据类型")
public enum ConfigDataType implements ResourceEnum {

	TEXT("文本"),

	PLAIN_TEXT("多行文本"),

	RICH_TEXT("富文本"),

	NUMBER("数字"),

	INTEGER("整数"),

	SELECT("单选"),

	EMAIL("邮箱"),

	MOBILE("手机号码"),

	TELEPHONE("电话号码"),

	MULTI_SELECT("多选"),

	BOOLEAN("是否"),

	DATE("日期"),

	FILE("文件"),

	IMAGE("图片");

	private String name;

	private ConfigDataType(String name) {
		this.name = name;
	}

	public String getValue() {
		return name;
	}

}
